
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title> nGrinder 脚本开发 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../../chapter-Groovy/" />
    
    
    <link rel="prev" href="../nGrinderbase/section3.1.3.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../../chapter-IDEA/">
            
                <a href="../../chapter-IDEA/">
            
                    
                    IDEA系列教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../../chapter-IDEA/understandbase.html">
            
                <a href="../../chapter-IDEA/understandbase.html">
            
                    
                     IDEA基本知识
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="../../chapter-IDEA/advance/section1.1.1.html">
            
                <a href="../../chapter-IDEA/advance/section1.1.1.html">
            
                    
                     开发流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="../../chapter-IDEA/advance/section1.1.2.html">
            
                <a href="../../chapter-IDEA/advance/section1.1.2.html">
            
                    
                     最常用的快捷键
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="../../chapter-IDEA/advance/section1.1.3.html">
            
                <a href="../../chapter-IDEA/advance/section1.1.3.html">
            
                    
                     搜索技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.4" data-path="../../chapter-IDEA/advance/section1.1.4.html">
            
                <a href="../../chapter-IDEA/advance/section1.1.4.html">
            
                    
                     同步设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.5" data-path="../../chapter-IDEA/advance/section1.1.5.html">
            
                <a href="../../chapter-IDEA/advance/section1.1.5.html">
            
                    
                     如何迅速掌握快捷键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../../chapter-IDEA/upIDEA.html">
            
                <a href="../../chapter-IDEA/upIDEA.html">
            
                    
                     IDEA进阶
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="../../chapter-IDEA/upIDEA/section1.2.1.html">
            
                <a href="../../chapter-IDEA/upIDEA/section1.2.1.html">
            
                    
                     在IDEA上配置Github
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="../../chapter-IDEA/upIDEA/section1.2.2.html">
            
                <a href="../../chapter-IDEA/upIDEA/section1.2.2.html">
            
                    
                    另类语法糖-Postfix Completion
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3" data-path="../../chapter-IDEA/upIDEA/section1.2.3.html">
            
                <a href="../../chapter-IDEA/upIDEA/section1.2.3.html">
            
                    
                    IDEA 插件实践谈
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../../chapter-GITBOOK/">
            
                <a href="../../chapter-GITBOOK/">
            
                    
                    GIT BOOK
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../../chapter-GITBOOK/gitbookbase/">
            
                <a href="../../chapter-GITBOOK/gitbookbase/">
            
                    
                     GIT BOOK基本配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../chapter-GITBOOK/gitbookbase/gitbook-base.html">
            
                <a href="../../chapter-GITBOOK/gitbookbase/gitbook-base.html">
            
                    
                    环境配置及本地调试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../../chapter-GITBOOK/gitbookadvance/">
            
                <a href="../../chapter-GITBOOK/gitbookadvance/">
            
                    
                     GIT BOOK同步GitHub
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../">
            
                <a href="../">
            
                    
                    nGrinder 压测工具安装及使用 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../nGrinderbase/">
            
                <a href="../nGrinderbase/">
            
                    
                     nGrinder 基本配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1.1" data-path="../nGrinderbase/section3.1.1.html">
            
                <a href="../nGrinderbase/section3.1.1.html">
            
                    
                     nGrinder安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.2" data-path="../nGrinderbase/section3.1.2.html">
            
                <a href="../nGrinderbase/section3.1.2.html">
            
                    
                     nGrinder agent配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.3" data-path="../nGrinderbase/section3.1.3.html">
            
                <a href="../nGrinderbase/section3.1.3.html">
            
                    
                     nGrinder 压测任务预约
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="1.4.2" data-path="./">
            
                <a href="./">
            
                    
                     nGrinder 脚本开发
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../../chapter-Groovy/">
            
                <a href="../../chapter-Groovy/">
            
                    
                    Groovy教程 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../../chapter-Groovy/groovyBase.html">
            
                <a href="../../chapter-Groovy/groovyBase.html">
            
                    
                    Groovy基础指南 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../../chapter-Groovy/gradleBase.html">
            
                <a href="../../chapter-Groovy/gradleBase.html">
            
                    
                    Gradle基础指南 
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../../chapter-WEBTools/">
            
                <a href="../../chapter-WEBTools/">
            
                    
                    Web 开发常用工具 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../chapter-WEBTools/Postman.html">
            
                <a href="../../chapter-WEBTools/Postman.html">
            
                    
                    Postman实践谈 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../chapter-WEBTools/fiddler.html">
            
                <a href="../../chapter-WEBTools/fiddler.html">
            
                    
                    Fiddler的使用技巧 
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../../chapter-tittleTattle/">
            
                <a href="../../chapter-tittleTattle/">
            
                    
                    一点思考 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../../chapter-tittleTattle/InputOutput.html">
            
                <a href="../../chapter-tittleTattle/InputOutput.html">
            
                    
                     从函数的输入输出看编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../../chapter-tittleTattle/MysqlAndRedis.html">
            
                <a href="../../chapter-tittleTattle/MysqlAndRedis.html">
            
                    
                     MySQL和Redis的有趣对话
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../../chapter-tittleTattle/whoCareMyCode.html">
            
                <a href="../../chapter-tittleTattle/whoCareMyCode.html">
            
                    
                     代码到底写给谁看
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../../chapter-tittleTattle/iamengineer.html">
            
                <a href="../../chapter-tittleTattle/iamengineer.html">
            
                    
                     我是一个后端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../../chapter-thinking/">
            
                <a href="../../chapter-thinking/">
            
                    
                    杂谈 
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../../chapter-thinking/personalization.html">
            
                <a href="../../chapter-thinking/personalization.html">
            
                    
                     人格化的产品
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../../chapter-thinking/ifIWereALineOfCode.html">
            
                <a href="../../chapter-thinking/ifIWereALineOfCode.html">
            
                    
                     假如我是一行代码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../../chapter-thinking/saleYourIdea.html">
            
                <a href="../../chapter-thinking/saleYourIdea.html">
            
                    
                     卖掉你的想法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." > nGrinder 脚本开发</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="ngrinder-&#x811A;&#x672C;&#x5F00;&#x53D1;">nGrinder &#x811A;&#x672C;&#x5F00;&#x53D1;</h1>
<h3 id="&#x524D;&#x8A00;">&#x524D;&#x8A00;</h3>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;nGrinder&#x4E0D;&#x6B62;&#x4E3A;&#x6211;&#x4EEC;&#x63D0;&#x4F9B;&#x4E86;&#x53EA;&#x914D;&#x7F6E;&#x4E00;&#x4E2A;URL&#x7684;&#x65B9;&#x5F0F;&#x53BB;&#x538B;&#x6D4B;&#xFF0C;&#x8FD9;&#x79CD;&#x65B9;&#x5F0F;&#x6BD5;&#x7ADF;&#x5F88;&#x53D7;&#x5C40;&#x9650;&#x3002;&#x90A3;&#x5B9E;&#x9645;&#x4E0A;&#xFF0C;&#x4ED6;&#x8FD8;&#x4E3A;&#x6211;&#x4EEC;&#x63D0;&#x4F9B;&#x4E86;&#x5F00;&#x53D1;&#x81EA;&#x5DF1;&#x7684;&#x811A;&#x672C;&#x7684;&#x65B9;&#x5F0F;&#x53BB;&#x5B9E;&#x65BD;&#x6211;&#x4EEC;&#x7684;&#x538B;&#x6D4B;&#x3002;&#x800C;&#x5199;&#x811A;&#x672C;&#x5FC5;&#x7136;&#x8981;&#x9009;&#x62E9;&#x4E00;&#x79CD;&#x8BED;&#x8A00;&#x3002;&#x5B9E;&#x9645;&#x4E0A;&#xFF0C;nGrinder&#x4E3A;&#x6211;&#x4EEC;&#x9009;&#x5B9A;&#x7684;&#x662F;&#x548C;Java&#x540C;&#x6839;&#x540C;&#x6E90;&#x7684;Groovy&#x3002;&#x8FD9;&#x95E8;&#x5F00;&#x53D1;&#x8BED;&#x8A00;&#x5176;&#x5B9E;&#x5BF9;&#x6211;&#x4EEC;Java&#x5F00;&#x53D1;&#x6765;&#x8BF4;&#x662F;&#x5341;&#x5206;&#x4FBF;&#x4E8E;&#x638C;&#x63E1;&#x7684;&#x3002;&#x4E0B;&#x9762;&#xFF0C;&#x6211;&#x5C31;&#x7AD9;&#x5728;&#x6211;&#x81EA;&#x5DF1;&#x7684;&#x89D2;&#x5EA6;&#x6765;&#x770B;&#x770B;&#x8FD9;&#x95E8;&#x8BED;&#x8A00;&#xFF01;</p>
<h3 id="groovy&#x7684;&#x524D;&#x4E16;&#x4ECA;&#x751F;">Groovy&#x7684;&#x524D;&#x4E16;&#x4ECA;&#x751F;</h3>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x5728;&#x5F00;&#x53D1;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;&#x6211;&#x4EEC;&#x5E38;&#x5E38;&#x4F1A;&#x56E0;&#x4E3A;Java&#x5197;&#x4F59;&#x7684;&#x8BED;&#x6CD5;&#x5FC3;&#x91CC;&#x6709;&#x7740;&#x5F88;&#x591A;&#x7684;&#x4E0D;&#x723D;&#xFF0C;&#x4F46;&#x662F;&#xFF0C;&#x8FD9;&#x5C31;&#x662F;&#x6807;&#x51C6;&#x5316;&#x7684;&#x4E1C;&#x897F;&#xFF0C;&#x4E3A;&#x4F55;&#x8981;&#x5B58;&#x5728;&#x8FD9;&#x79CD;&#x6807;&#x51C6;&#x5462;&#xFF1F;&#x56E0;&#x4E3A;&#x89C4;&#x8303;&#x5F00;&#x53D1;&#xFF0C;&#x80FD;&#x591F;&#x6700;&#x5927;&#x7A0B;&#x5EA6;&#x7684;&#x8282;&#x7701;&#x5927;&#x5BB6;&#x5BF9;&#x63A5;&#x7684;&#x6548;&#x7387;&#x3002;&#x6B63;&#x56E0;&#x4E3A;&#x4EE3;&#x7801;&#x4E00;&#x770B;&#x5C31;&#x61C2;&#xFF0C;&#x5C01;&#x88C5;&#x9887;&#x4E3A;&#x5C11;&#xFF0C;&#x624D;&#x9020;&#x5C31;&#x4E86;Java&#x73B0;&#x5728;&#x7684;&#x706B;&#x70ED;&#x3002;&#x5982;&#x679C;Java&#x50CF;Scala&#x4E00;&#x6837;&#xFF0C;&#x5199;&#x51FA;&#x6765;&#x7684;&#x4E1C;&#x897F;&#x5982;&#x5929;&#x4E66;&#x4E00;&#x822C;&#x3002;&#x5B66;&#x4E60;&#x6210;&#x672C;&#x5C31;&#x4F1A;&#x76F4;&#x7EBF;&#x4E0A;&#x5347;&#xFF0C;&#x800C;&#x4E14;&#x548C;&#x522B;&#x4EBA;&#x5BF9;&#x63A5;&#x4E5F;&#x4F1A;&#x5E26;&#x6765;&#x989D;&#x5916;&#x7684;&#x6210;&#x672C;&#x3002;&#x7F51;&#x4E0A;&#x6D41;&#x4F20;&#x8FD9;&#x6837;&#x4E00;&#x4E2A;&#x6BB5;&#x5B50;&#xFF0C;Scala&#x5199;&#x51FA;&#x6765;&#x7684;&#x4EE3;&#x7801;&#x6CE8;&#x91CA;&#x662F;&#x4EE3;&#x7801;&#x7684;&#x4E09;&#x500D;&#x591A;&#xFF0C;&#x56E0;&#x4E3A;&#x8BED;&#x6CD5;&#x592A;&#x8FC7;&#x7B80;&#x6D01;&#x3002;</p>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x8FD9;&#x91CC;&#x7684;&#x8BDD;&#xFF0C;&#x6211;&#x4EEC;&#x8981;&#x5F15;&#x5165;&#x4E00;&#x4E2A;&#x6982;&#x5FF5;&#xFF0C;&#x8BED;&#x6CD5;&#x7CD6;&#x3002;&#x8FD9;&#x662F;&#x65B9;&#x4FBF;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x4F7F;&#x7528;&#x5F00;&#x53D1;&#x8BED;&#x8A00;&#x6240;&#x505A;&#x7684;&#x8BED;&#x6CD5;&#x5C42;&#x9762;&#x7684;&#x4F18;&#x5316;&#x3002;&#x800C;Java&#x4E2D;&#x5E38;&#x89C1;&#x7684;&#x8BED;&#x6CD5;&#x7CD6;&#x83AB;&#x8FC7;&#x4E8E;&#x81EA;&#x52A8;&#x7684;&#x62C6;&#x7BB1;&#x88C5;&#x7BB1;&#x3001;foreach&#x589E;&#x5F3A;&#x578B;&#x5FAA;&#x73AF;&#x4E86;&#x3002;&#x540E;&#x6765;&#xFF0C;Groovy&#x51FA;&#x73B0;&#x4E86;&#xFF0C;&#x5B83;&#x91CD;&#x65B0;&#x7684;&#x5B9A;&#x4E49;&#x4E86;Java&#x5BF9;&#x4E8E;&#x96C6;&#x5408;&#x3001;&#x6570;&#x636E;&#x5E93;&#x7F51;&#x7EDC;&#x7684;&#x64CD;&#x4F5C;&#x3002;&#x8BA9;&#x6211;&#x4EEC;&#x4ECE;&#x7E41;&#x6742;&#x7684;&#x4EE3;&#x7801;&#x4E2D;&#x89E3;&#x8131;&#x51FA;&#x6765;&#x3002;&#x800C;&#x5B83;&#x662F;&#x4E00;&#x95E8;&#x811A;&#x672C;&#x8BED;&#x8A00;&#xFF0C;&#x5374;&#x540C;&#x65F6;&#x53EF;&#x4EE5;&#x548C;Java&#x5F88;&#x597D;&#x7684;&#x517C;&#x5BB9;&#x3002;&#x95ED;&#x5305;&#x3001;&#x51FD;&#x6570;&#x5F0F;&#x7F16;&#x7A0B;&#x3001;&#x4E00;&#x4E9B;&#x57FA;&#x4E8E;&#x8BED;&#x6CD5;&#x5C42;&#x9762;&#x7684;&#x4F18;&#x5316;&#xFF0C;&#x8BA9;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x5B83;&#x5F97;&#x5FC3;&#x5E94;&#x624B;&#x3002;&#x8FD9;&#x5C31;&#x662F;Groovy&#x3002;&#x5F53;&#x7136;&#xFF0C;&#x6211;&#x5728;&#x6B64;&#x5904;&#x4E0D;&#x613F;&#x610F;&#x8D58;&#x8FF0;Groovy&#x7684;&#x53D1;&#x5C55;&#x5386;&#x53F2;&#x3002;&#x6211;&#x53EA;&#x5E0C;&#x671B;&#x544A;&#x8BC9;&#x4F60;&#xFF0C;&#x5B83;&#x6765;&#x6E90;&#x4E8E;Java&#xFF0C;&#x5374;&#x5728;&#x67D0;&#x4E9B;&#x5C42;&#x9762;&#x9AD8;&#x4E8E;Java&#x3002;&#x6BD4;&#x5982;&#x8BF4;&#x52A8;&#x6001;&#x7279;&#x6027;&#xFF0C;&#x6BD4;&#x5982;&#x8BF4;&#x5F15;&#x5165;&#x4E86;&#x95ED;&#x5305;&#x7B49;&#x6982;&#x5FF5;&#x3002;</p>
<h3 id="&#x5982;&#x4F55;&#x5F00;&#x53D1;&#x811A;&#x672C;">&#x5982;&#x4F55;&#x5F00;&#x53D1;&#x811A;&#x672C;</h3>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x5B9E;&#x9645;&#x4E0A;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x5728;nGrinder&#x4E0A;&#x8FDB;&#x884C;&#x76F8;&#x5173;&#x7684;&#x811A;&#x672C;&#x4EE3;&#x7801;&#x7684;&#x4E66;&#x5199;&#xFF0C;&#x7136;&#x540E;&#x8FD0;&#x884C;&#x4E4B;&#x3002;&#x4F46;&#x662F;&#xFF0C;&#x4E00;&#x65E6;&#x6211;&#x4EEC;&#x5728;web&#x9875;&#x9762;&#x4E0A;&#x76F4;&#x63A5;&#x8FDB;&#x884C;&#x811A;&#x672C;&#x7684;&#x5F00;&#x53D1;&#x3002;&#x6211;&#x4EEC;&#x5C06;&#x65E0;&#x6CD5;&#x5F97;&#x5230;&#x5728;IDE&#x4E0A;&#x7F16;&#x7A0B;&#x7684;&#x4E00;&#x4E9B;&#x4EE3;&#x7801;&#x63D0;&#x793A;&#xFF0C;&#x867D;&#x8BF4;&#x6709;&#x5F88;&#x591A;&#x4EBA;&#x90FD;&#x8BF4;&#x7528;Vim&#x5199;&#x4EE3;&#x7801;&#x7684;&#x624D;&#x662F;&#x9AD8;&#x624B;&#xFF0C;&#x4F46;&#x662F;&#x90A3;&#x4E9B;&#x4EBA;&#x7684;Vim&#x7684;&#x63D2;&#x4EF6;&#x4E1D;&#x6BEB;&#x4E0D;&#x5C11;&#x4E8E;&#x6211;&#x4EEC;&#x6240;&#x7528;&#x7684;IDE&#x7684;&#x5566;&#xFF01;</p>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x90A3;&#x4E0B;&#x9762;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x7740;&#x91CD;&#x7684;&#x6765;&#x770B;&#x5982;&#x4F55;&#x811A;&#x672C;&#x6587;&#x4EF6;&#x4F5C;&#x4E3A;Maven&#x5DE5;&#x7A0B;&#x4E0B;&#x8F7D;&#x5230;&#x6211;&#x4EEC;&#x672C;&#x5730;&#x5E76;&#x5728;&#x6211;&#x4EEC;&#x672C;&#x5730;&#x8FDB;&#x884C;&#x76F8;&#x5173;&#x7684;&#x6D4B;&#x8BD5;&#x3002;</p>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x9996;&#x5148;&#xFF0C;&#x6765;&#x5230;nGrinder&#x7684;&#x811A;&#x672C;&#x9875;&#x9762;&#xFF0C;&#x6B64;&#x65F6;&#x5373;&#x53EF;&#x770B;&#x5230;&#x6211;&#x4EEC;&#x76EE;&#x524D;&#x6240;&#x62E5;&#x6709;&#x7684;&#x811A;&#x672C;&#x3002;&#x4E00;&#x822C;&#x800C;&#x8A00;&#xFF0C;nGrinder&#x90FD;&#x662F;&#x516C;&#x53F8;&#x6216;&#x8005;&#x9879;&#x76EE;&#x7EC4;&#x7EA7;&#x522B;&#x516C;&#x7528;&#x7684;&#xFF0C;&#x6240;&#x4EE5;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x91C7;&#x7528;&#x4E0D;&#x540C;&#x7684;&#x6587;&#x4EF6;&#x5939;&#x6765;&#x5BF9;&#x4E0D;&#x540C;&#x4E1A;&#x52A1;&#x7684;&#x811A;&#x672C;&#x505A;&#x4E00;&#x4E2A;&#x533A;&#x5206;&#x3002;&#x7136;&#x540E;&#x6211;&#x4EEC;&#x5C31;&#x53EF;&#x4EE5;&#x65B0;&#x5EFA;&#x811A;&#x672C;&#x4E86;&#x3002;
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x70B9;&#x51FB;&#x65B0;&#x5EFA;&#x811A;&#x672C;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x4F1A;&#x5F97;&#x5230;&#x5982;&#x4E0B;&#x7684;&#x753B;&#x9762;&#xFF1A;</p>
<hr>
<p><center><img src="../image/createscript.png"></center></p>
<hr>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x6211;&#x4EEC;&#x4E00;&#x5B9A;&#x8981;&#x9009;&#x62E9;mavenproject&#x8FD9;&#x4E2A;&#x9009;&#x9879;&#x3002;&#x56E0;&#x4E3A;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x6309;&#x7167;&#x9879;&#x76EE;&#x6765;&#x8FDB;&#x884C;&#x6211;&#x4EEC;&#x7684;&#x811A;&#x672C;&#x7684;&#x7EC4;&#x7EC7;&#x3002;&#x597D;&#x4E86;&#xFF0C;&#x6B64;&#x65F6;&#x5373;&#x53EF;&#x4E0B;&#x8F7D;&#x811A;&#x672C;&#x9879;&#x76EE;&#x3002;&#x4E0B;&#x8F7D;&#x5B8C;&#x6210;&#x5BFC;&#x5165;&#x5230;&#x81EA;&#x5DF1;&#x7684;IDE&#x4E2D;&#x5373;&#x53EF;&#x8C03;&#x8BD5;&#x3002;&#x5F53;&#x7136;&#xFF0C;&#x4E0B;&#x8F7D;&#x7684;&#x65B9;&#x5F0F;&#x662F;&#x901A;&#x8FC7;svn&#x7684;&#x65B9;&#x5F0F;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;nGrinder&#x5DF2;&#x7ECF;&#x4E3A;&#x6211;&#x4EEC;&#x505A;&#x597D;&#x4E86;&#x7248;&#x672C;&#x63A7;&#x5236;&#xFF0C;&#x771F;&#x7684;&#x662F;&#x592A;&#x8D34;&#x5FC3;&#x4E86;&#x3002;
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x6211;&#x4EEC;&#x4F7F;&#x7528;svn&#x8FDE;&#x63A5;&#x4E0B;&#x8F7D;&#x540E;&#x5373;&#x53EF;&#x5BFC;&#x5165;&#x5230;&#x81EA;&#x5DF1;&#x7684;ide&#x4E2D;&#x3002;&#x6B64;&#x65F6;&#xFF0C;&#x5373;&#x53EF;&#x5F00;&#x59CB;&#x7F8E;&#x5999;&#x7684;&#x8C03;&#x8BD5;&#xFF0C;&#x4F46;&#x662F;&#x5728;&#x5F53;&#x4F60;&#x70B9;&#x51FB;&#x8FD0;&#x884C;&#x4E4B;&#x540E;&#x4F1A;&#x53D1;&#x73B0;&#xFF0C;&#x600E;&#x4E48;&#x62A5;&#x9519;&#x4E86;&#x3002;&#x539F;&#x6765;&#x662F;&#x9700;&#x8981;&#x52A0;&#x4E00;&#x4E9B;jvm&#x7684;&#x53C2;&#x6570;&#x3002;</p>
<pre><code class="lang-xml">java.lang.RuntimeException: Please add
-javaagent:D:\90Workspace\maven\stone\net\sf\grinder\grinder-dcr-agent\3.9.1\grinder-dcr-agent-3.9.1.jar
in &apos;Run As JUnit&apos; vm argument.
</code></pre>
<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#x5982;&#x4E0A;&#x5373;&#x662F;&#x8981;&#x6DFB;&#x52A0;&#x7684;Jvm&#x7684;&#x53C2;&#x6570;&#xFF0C;&#x5F53;&#x7136;&#xFF0C;&#x5230;&#x6B64;&#x6211;&#x4EEC;&#x624D;&#x53EF;&#x4EE5;&#x5F00;&#x59CB;&#x5F00;&#x53D1;&#x6211;&#x4EEC;&#x7684;&#x811A;&#x672C;&#x3002;&#x4F46;&#x662F;&#x8FD9;&#x4E9B;&#x8BF7;&#x79FB;&#x6B65;&#x4E0B;&#x4E00;&#x8282;&#xFF0C;Groovy&#x7684;&#x57FA;&#x672C;&#x4F7F;&#x7528;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../nGrinderbase/section3.1.3.html" class="navigation navigation-prev " aria-label="Previous page:  nGrinder 压测任务预约">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../../chapter-Groovy/" class="navigation navigation-next " aria-label="Next page: Groovy教程 ">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":" nGrinder 脚本开发","level":"1.4.2","depth":2,"next":{"title":"Groovy教程 ","level":"1.5","depth":1,"path":"chapter-Groovy/README.md","ref":"chapter-Groovy/README.md","articles":[{"title":"Groovy基础指南 ","level":"1.5.1","depth":2,"path":"chapter-Groovy/groovyBase.md","ref":"chapter-Groovy/groovyBase.md","articles":[]},{"title":"Gradle基础指南 ","level":"1.5.2","depth":2,"path":"chapter-Groovy/gradleBase.md","ref":"chapter-Groovy/gradleBase.md","articles":[]}]},"previous":{"title":" nGrinder 压测任务预约","level":"1.4.1.3","depth":3,"path":"chapter-Grinder/nGrinderbase/section3.1.3.md","ref":"chapter-Grinder/nGrinderbase/section3.1.3.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter-Grinder/nGrinderdevelop/README.md","mtime":"2018-12-17T07:47:58.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-17T09:36:56.241Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

